#include "server.hpp"



int main()
{
    Buffer buff;

    for(int i = 0; i < 300; ++i)
    {
        std::string str = "hello!!" + std::to_string(i) + '\n';
        buff.WriteStringAndPush(str);
    }
    while(buff.ReadAbleSize() > 0)
    {
        std::string line = buff.GetLineAndPop();
        
    }
    LOG(ERROR, "hello");
    // std::string tmp = buff.ReadAsStringAndPop(buff.ReadAbleSize());
    // std::cout << tmp << std::endl;

    return 0;
}